package com.settlement.system.model.entity.common;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
/**
 * 蘑菇街小程序-商品级别列表
 * @author Ximi
 * @since 2020-06-16
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblMgjXcxItemOrderDetail extends BaseModel implements Serializable {


    /**
     * 序号
     */
    @ExcelProperty(value = "序号")
    @ApiModelProperty(value = "序号")
    private Integer sn;

    /**
     * 店铺编码
     */
    @ExcelProperty(value = "店铺编码")
    @ApiModelProperty(value = "店铺编码",required = true)
    @NotNull(message = "店铺编码不能为空")
    private String shopNo;

    /**
     * 店铺名称
     */
    @ExcelProperty(value = "店铺名称")
    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号")
    @ApiModelProperty(value = "订单编号",required = true)
    @NotNull(message = "订单编号不能为空")
    private String orderNo;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    @ApiModelProperty(value = "物品名称")
    private String itemName;

    /**
     * 实际价格(元)
     */
    @ExcelProperty(value = "实际价格(元)")
    @ApiModelProperty(value = "实际价格(元)")
    private BigDecimal actualPrice;

    /**
     * 运费(元)
     */
    @ExcelProperty(value = "运费(元)")
    @ApiModelProperty(value = "运费(元)")
    private BigDecimal transportAmount;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ApiModelProperty(value = "数量")
    private Integer qty;

    /**
     * 成交时间
     */
    @ExcelProperty(value = "成交时间")
    @ApiModelProperty(value = "成交时间")
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date exchangeDate;

    /**
     * 订单总实际价格(元)
     */
    @ExcelProperty(value = "订单总实际价格(元)")
    @ApiModelProperty(value = "订单总实际价格(元)")
    private BigDecimal orderAcutalTotalPrice;

    /**
     * 真实付款(元)
     */
    @ExcelProperty(value = "真实付款(元)")
    @ApiModelProperty(value = "真实付款(元)")
    private BigDecimal actualPayAmount;

    /**
     * 商品单价(元)
     */
    @ExcelProperty(value = "商品单价(元)")
    @ApiModelProperty(value = "商品单价(元)")
    private BigDecimal itemUnitPrice;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 商品SKU编码
     */
    @ExcelProperty(value = "商品SKU编码")
    @ApiModelProperty(value = "商品SKU编码",required = true)
    @NotNull(message = "商品SKU编码不能为空")
    private String itemSkuCode;

    /**
     * 商品编码
     */
    @ExcelProperty(value = "商品编码")
    @ApiModelProperty(value = "商品编码")
    private String itemCode;

    /**
     * 微信支付单号
     */
    @ExcelProperty(value = "微信支付单号")
    @ApiModelProperty(value = "微信支付单号",required = true)
    @NotNull(message = "微信支付单号不能为空")
    private String wechatPaymentNo;

    /**
     * 微信支付退款单号
     */
    @ExcelProperty(value = "微信支付退款单号")
    @ApiModelProperty(value = "微信支付退款单号")
    private String wechatRefundNo;
    
}
